3.2.76 \(\int \frac {x}{\sqrt {a x^2+b x^3}} \, dx\)

Optimal. Leaf size=23 \[ \frac {2 \sqrt {a x^2+b x^3}}{b x} \]

________________________________________________________________________________________

Rubi [A]  time = 0.01, antiderivative size = 23, normalized size of antiderivative = 1.00, number of steps used = 1, number of rules used = 1, integrand size = 17, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.059, Rules used = {1588} \begin {gather*} \frac {2 \sqrt {a x^2+b x^3}}{b x} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[x/Sqrt[a*x^2 + b*x^3],x]

[Out]

(2*Sqrt[a*x^2 + b*x^3])/(b*x)

Rule 1588

Int[(Pp_)*(Qq_)^(m_.), x_Symbol] :> With[{p = Expon[Pp, x], q = Expon[Qq, x]}, Simp[(Coeff[Pp, x, p]*x^(p - q
+ 1)*Qq^(m + 1))/((p + m*q + 1)*Coeff[Qq, x, q]), x] /; NeQ[p + m*q + 1, 0] && EqQ[(p + m*q + 1)*Coeff[Qq, x,
q]*Pp, Coeff[Pp, x, p]*x^(p - q)*((p - q + 1)*Qq + (m + 1)*x*D[Qq, x])]] /; FreeQ[m, x] && PolyQ[Pp, x] && Pol
yQ[Qq, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int \frac {x}{\sqrt {a x^2+b x^3}} \, dx &=\frac {2 \sqrt {a x^2+b x^3}}{b x}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.01, size = 21, normalized size = 0.91 \begin {gather*} \frac {2 \sqrt {x^2 (a+b x)}}{b x} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[x/Sqrt[a*x^2 + b*x^3],x]

[Out]

(2*Sqrt[x^2*(a + b*x)])/(b*x)

________________________________________________________________________________________

IntegrateAlgebraic [A]  time = 0.03, size = 23, normalized size = 1.00 \begin {gather*} \frac {2 \sqrt {a x^2+b x^3}}{b x} \end {gather*}

Antiderivative was successfully verified.

[In]

IntegrateAlgebraic[x/Sqrt[a*x^2 + b*x^3],x]

[Out]

(2*Sqrt[a*x^2 + b*x^3])/(b*x)

________________________________________________________________________________________

fricas [A]  time = 0.40, size = 21, normalized size = 0.91 \begin {gather*} \frac {2 \, \sqrt {b x^{3} + a x^{2}}}{b x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^3+a*x^2)^(1/2),x, algorithm="fricas")

[Out]

2*sqrt(b*x^3 + a*x^2)/(b*x)

________________________________________________________________________________________

giac [A]  time = 0.20, size = 26, normalized size = 1.13 \begin {gather*} \frac {2}{\sqrt {\frac {b}{x} + \frac {a}{x^{2}}} - \frac {\sqrt {a}}{x}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^3+a*x^2)^(1/2),x, algorithm="giac")

[Out]

2/(sqrt(b/x + a/x^2) - sqrt(a)/x)

________________________________________________________________________________________

maple [A]  time = 0.04, size = 25, normalized size = 1.09 \begin {gather*} \frac {2 \left (b x +a \right ) x}{\sqrt {b \,x^{3}+a \,x^{2}}\, b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(b*x^3+a*x^2)^(1/2),x)

[Out]

2*x*(b*x+a)/b/(b*x^3+a*x^2)^(1/2)

________________________________________________________________________________________

maxima [A]  time = 1.41, size = 12, normalized size = 0.52 \begin {gather*} \frac {2 \, \sqrt {b x + a}}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x^3+a*x^2)^(1/2),x, algorithm="maxima")

[Out]

2*sqrt(b*x + a)/b

________________________________________________________________________________________

mupad [B]  time = 5.14, size = 17, normalized size = 0.74 \begin {gather*} \frac {2\,\relax |x|\,\sqrt {a+b\,x}}{b\,x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x/(a*x^2 + b*x^3)^(1/2),x)

[Out]

(2*abs(x)*(a + b*x)^(1/2))/(b*x)

________________________________________________________________________________________

sympy [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x}{\sqrt {x^{2} \left (a + b x\right )}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x/(b*x**3+a*x**2)**(1/2),x)

[Out]

Integral(x/sqrt(x**2*(a + b*x)), x)

________________________________________________________________________________________